Skip to content

Conversation

@loosebazooka
Copy link
Member

Also mention they are in preview in README

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @loosebazooka, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces new preview builds for Debian 13 based distroless images, specifically for the static, base, and base-nossl variants. The changes involve updating the build configuration to include these new distributions and modifying the README.md to document their availability and clearly state their preview status, indicating they are intended for testing and may undergo further changes before stabilization.

Highlights

  • New Debian 13 Preview Builds: Adds support for building static, base, and base-nossl distroless images based on Debian 13, expanding the available image variants.
  • Documentation Update for Preview Images: Updates the README.md to include a new section detailing the Debian 13 preview images, clearly stating their unstable nature and purpose for early testing by users.
  • Build Configuration Update: Modifies the BUILD file to incorporate PREVIEW_DISTROS into the image generation process for static, base, and base-nossl images, enabling the creation of Debian 13 variants alongside existing distributions.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds builds for Debian 13 for static, base, and base-nossl images, and appropriately documents them as 'preview' in the README. The changes in the BUILD file correctly enable the new builds, and the README.md update clearly communicates the preview status and availability of these new images. I have one suggestion for the BUILD file to address code duplication, which could improve long-term maintainability.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2025

🌳 🔄 Image Check
This pull request doesn't make any changes to the images. 👍
You can check the details in the report here

@gfrankliu
Copy link

Shouldn't we upgrade rules_distroless and enable mergedusr for trixie as mentioned https://github.com/GoogleContainerTools/distroless/blob/main/private/repos/deb/deb.MODULE.bazel#L21

@mengzhuo
Copy link

@loosebazooka Would you mind adds riscv64 architecture into 13? Thanks.
Ref #1269

@thesayyn
Copy link
Collaborator

thesayyn commented Sep 2, 2025

There is https://registry.bazel.build/modules/rules_distroless/0.5.3 which can be bumped here.

@loosebazooka
Copy link
Member Author

@thesayyn I can't seem to bump rules_oci without some modification about where crane is being pulled from

@loosebazooka
Copy link
Member Author

There is https://registry.bazel.build/modules/rules_distroless/0.5.3 which can be bumped here.

this was bumped in #1853

@loosebazooka
Copy link
Member Author

loosebazooka commented Sep 2, 2025

for mergedusrfs, I think we need to

  • add base symlinks
  • check that no layer overwrites these symlinks

@armingerten
Copy link

Any updates on this? :)

@floriankoch
Copy link

@loosebazooka can i help with somethig?

@jayvdb jayvdb mentioned this pull request Sep 28, 2025
7 tasks
@mprimeaux
Copy link

@bobcallaway When will this PR be merged? Happy to contribute where needed.

Also mention they are in preview in README
These builds include merged usrfs, so consumers
need to be aware that they
- must respect symlinks
- users of rules_distroless should enable mergedusr

Signed-off-by: Appu Goundan <[email protected]>
@loosebazooka
Copy link
Member Author

loosebazooka commented Oct 8, 2025

Updated this to include merged usrfs, I think we can do this build and lets users try it out. I checked manually that the build doesn't overwrite the symlinks anywhere. This may be different with the language images, but we can start from here.

@bobcallaway @thesayyn , this is ready for review now?

@bobcallaway bobcallaway merged commit 3e22815 into main Oct 8, 2025
12 checks passed
@bobcallaway bobcallaway deleted the add-13-build branch October 8, 2025 16:04
@c-zuniga-hiwin
Copy link

Thanks for adding Debian 13 builds for static/base! Do you have an ETA for cc and the language images (Python, Java, Node)?

@loosebazooka
Copy link
Member Author

no ETA, but hopefully soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants